<?php

namespace app\api\validate;

use app\common\validate\CommonValidate;

class ImageValidate
{
    public static function getImagesList($data)
    {
        $rule = [
            'category_id' => 'require',
        ];
        $message = [
            'category_id.require' => "缺少参数",
        ];
        return CommonValidate::check($rule, $message, $data);
    }
}